<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <link rel="stylesheet" href="./../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./../css/base.css">
    <link rel="stylesheet" href="./../css/moneyproduct.css">

    <script src="./../js/template.js"></script>
    <script src="./../js/url.js"></script>

    <title>省钱控</title>
</head>

<body>
    <header id="header" class="header">
        <div id="ctl00_headerApp" class="head">
            <div class="back">
                <a href="inlanddiscount.html" class="icon-back"></a>
            </div>
            <h4 style="color: #fff;">
                国内折扣
            </h4>
        </div>
    </header>
    <main id="recommen-product" class="discount-product">
    </main>
    <footer id="ctl00_foot">
        <div class="foot_top">
            <a href="login.aspx.htm">登录</a>
            <a href="login.aspx.htm">注册</a>
            <a href="#" style="width: 40%; border: 0;">
                返回顶部</a>
        </div>
        <div class="footer">
            <p>
                <a href="#">手机APP下载</a> <a href="index.htm">
                    慢慢买手机版</a> -- 掌上比价平台</p>
            <p>
                m.manmanbuy.com
            </p>
        </div>
    </footer>

</body>
<script id="discountProduct" type="text/html">
    {{each result as value i}}
    <div class="container">
        <div class="cu-content">
            <h4 class="title">
                {{value.productName}}</h4>
            <h4 style="color: red;">{{value.productPrice}}</h4>
            <div class="info">
                <span class="mall">{{value.productFrom}}</span> <span class="addtime" style="margin-right: 4px;">{{value.productTime}}</span>
                <span class="author">{{value.productTips}}</span>
            </div>
            <div class="content clearfix">
                <div class="picwrap">
                    <div></div>
                    <div class="conn">
                        <!--内容开始-->
                        <p>{{value.productInfo}}</p>
                        <p>{{#value.productImg}}</p>
                        <!--内容结束-->
                    </div>
                </div>
                <div class="golink">
                    <a href="#"><i class="icon-gobuy"></i>前往购买</a></div>
            </div>
            <div style="text-align: center; margin: 20px 10px;">
                <img src="images/mmbweixin2.png" style="width: 100%; height: auto;">
            </div>
            <div class="cu-content-pl ui-border-t">
                {{#value.productComment}}
            </div>
        </div>
        {{/each}}
</script>
<script src="./../js/template.js"></script>
<script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script>
    (function($) {
        $.getUrlParam = function(name) {
            var reg = new RegExp("(^|&)" +
                name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]);
            return null;
        }
    })(jQuery);
</script>
<script src="./../js/discount.js"></script>

</html>